package com.company.策略模式;

public class Fun {

    private Action action;

    public Fun(Action action) {
        this.action = action;
    }

    public void fun(){
        System.out.println("第一步");
        System.out.println("第2步");
        System.out.println("第3步");
        //????
        action.doFour();
        System.out.println("第5步");
        //????
        action.doSix();
        System.out.println("第7步");
    }
}
